//
//  glutils.h
//  myfistopengl
//
//  Created by huiti123 on 2017/3/30.
//  Copyright © 2017年 wtw. All rights reserved.
//

#import <UIKit/UIKit.h>

#define GLES_STRING(x) #x

@interface glutils : UIView


+(GLuint)loadProgram:(NSString *)vertexShaderFile withFragmentShaderFile:(NSString*)fragmentShaderFile;

+(GLuint)loadShader:(GLenum)type withString:(NSString *)shaderString;


+(GLuint)loadProgram:(NSString *)vertexShaderStr withFragmentShaderStr:(NSString*)fragmentShaderStr;

@end
